package com.itheima.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * 包名:com.itheima.controller
 *
 * @author Leevi
 * 日期2020-08-15  10:22
 */
@Controller
@RequestMapping("/user")
public class UserController {
    @RequestMapping("/getName")
    public String getName(){
        System.out.println("getName...");
//        int num = 10/0;
        return "success";
    }
}
